package com.example.dto;

import com.example.entity.Position;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;


@Data
public class PositionDto extends Position {


    @JsonSerialize(using= ToStringSerializer.class)
    private Long departmentId;

    private String departmentName;

}
